﻿@page "/"

<PageTitle>Home</PageTitle>

<h1>Hello, world!</h1>

<AuthorizeView>
    <Authorized>
        <h3>欢迎，@context.User.Identity?.Name</h3>
    </Authorized>
    <NotAuthorized>
        <h3>您还未登录！</h3>
    </NotAuthorized>
</AuthorizeView>